//
//  ViewController.swift
//  无线轮播图
//
//  Created by w s j on 16/6/6.
//  Copyright © 2016年 w s j. All rights reserved.

import UIKit
class ViewController: UIViewController {
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        let scrollView = WJScrollView(frame: CGRectMake(0, 100, width, 200))
        let array = ["分类","活动","男频","女频","排行","特惠","完结","原创","AION-天气背景","aion01","aion02"]
        scrollView.dataArray = array
//        scrollView.pageIndicatorTintColor = UIColor.greenColor()
//        scrollView.cuttentPageColor = UIColor.redColor()
        view.addSubview(scrollView)
        view.addSubview(textLabel)
    }
    
    private lazy var textLabel:UILabel = {
        let label = UILabel()
        label.text = "七秒记忆鱼儿注，转注请备注七秒记忆鱼儿"
        label.sizeToFit()
        label.textColor = UIColor.redColor()
        label.frame.origin.y = 50.0
        return label
        }()

}


